package com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.until.DateFormatSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * TODO
 *
 * @version 1.0
 * @description:
 * @fileName:EmpFlatCheck
 * @author:吕帆
 * @createTime: 2022-04-29  15:37:37
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmpFlatCheck implements Serializable {
    private Integer empFlatId;
    private Integer empId;
    private String empName;
    private String storesName;
    private String deptName;
    private String roleName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date empFlatDate;
    private String flatStoresName;
    private String flatDeptName;
    private String flatRoleName;
    private Integer flatStatus;

    @JsonSerialize(using = DateFormatSerializer.class)
    public Date getEmpFlatDate() {
        return empFlatDate;
    }

}
